package org.dht.com.tra;

import org.dht.com.msg.Message;

/**
 * The <code>Communicator</code> interface have all services for to send and to
 * receiver messages
 */
public interface Communicator extends Stoppable {
	/**
	 * Send message
	 * 
	 * @param message
	 *            Message to send
	 */
	public void send(Message message);

	/**
	 * Reciever message
	 * 
	 * @return Message
	 */
	public Message reciever();
}
